﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Jogo
{
    class Enemy
    {

        /*
         * 
         * 
         * package  {
	
	import flash.display.MovieClip;
	
	
	public class Enemy extends MovieClip {
		
		public var ACTION : int;
		
		public const STOPED : int = 1;
		public const MOVING : int = 2;
		
		public var DIRECTION : int;
		
		public const RIGHT : int  = 1;
		public const LEFT : int = 2;
		public var distance:int;
		public var dir:Boolean;
				
		public function Enemy() {
			// constructor code
			DIRECTION = RIGHT;
			ACTION = STOPED;
		}  // end constructor code
		

		
		public function MoveToRight(): void {
			
			if(DIRECTION != RIGHT) {
				DIRECTION = RIGHT;
				ACTION = MOVING;
				gotoAndPlay(58);
			}
			//gotoAndPlay(13);
		} // End Move to Right
		
		public function MoveToLeft(): void {
			
			if(DIRECTION != LEFT) {
				DIRECTION = LEFT;
				ACTION = MOVING;
				gotoAndPlay(58);
			}
			//gotoAndPlay(13);
		}//End move to Left
		
		
		public function Stop() : void {
			ACTION = STOPED;
			gotoAndStop(1);
		}//End Stop
		
		public function Kick():void{
			gotoAndPlay(17);
		}//End Kick
		
		public function Special():void{
			gotoAndPlay(30);
		}//End Special
		
		public function Punch():void{
			gotoAndPlay(10);
		}//End Punch
		
		public function Block():void{
			gotoAndStop(9);
		}//End Block
		
	}//CLOSE Enemy CLASS
	
}//CLOSE PACKAGE

         * 
         * 
         */
    }
}
